/* 初始化 */
* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: black;
}


/* 规定html */
html {
    font-size: 16px;

}

ul li {
    list-style-type: none;
}

/* 连接矢量图标库 */
@font-face {
    font-family: 'iconfont';
    /* Project id 4361946 */
    src: url('//at.alicdn.com/t/c/font_4361946_j3kt7pf6gmq.woff2?t=1701863351359') format('woff2'),
        url('//at.alicdn.com/t/c/font_4361946_j3kt7pf6gmq.woff?t=1701863351359') format('woff'),
        url('//at.alicdn.com/t/c/font_4361946_j3kt7pf6gmq.ttf?t=1701863351359') format('truetype');
}


/* 使用vw rem做，根据页面自适应  */
/* 头部开始*/
header {
    width: 100%;
    height: 5rem;
    /* 溢出隐藏 */
    overflow: hidden;
}

/* 自适应分配 */
header>ul {
    display: flex;
    /* 高度根据header自适应 */
    justify-content: space-around;
}

header>ul>li {
    margin: 0;
    padding: 0;
    /* ul li设置成行内块模式 */
    height: 100%;
    /* 宽度自适应 */
    width: 20%;
    /* 字体居中显示 */
    text-align: center;
    line-height: 5rem;
    font-size: 1.5rem;
    /* 盒子阴影 */
    border-radius: .1rem;
    background: #80A7D2;
    box-shadow: -.1rem .1rem .2rem #6e90b5,
        .1rem .1rem .2rem #92beef;
    overflow: hidden;
}


.time {
    color: #92beef;
    width: 30rem;

}

.name {
    width: 45rem;
    font-weight: 900;
    font-style: italic;
}

/* 对于li盒子挨个修改 */
/* 悬停状态和点击状态的样式添加 */



/* 身体开始 */
nav {
    width: 100%;
    height: 33rem;
    display: flex;
    justify-content: flex-start;
    /* flex-direction: row; */
}

nav>div ul {
    height: 33rem;
    width: 50px;

}

.cbl {
    width: 15%;
    /* color: white; */
    background-image: url("./4.jpeg");
    background-repeat: round;
    background-size: 100%;
}

nav>ul>li {
    width: 100%;
    height: 3rem;
    margin: .3rem 0 .3rem;
    list-style-type: none;
    /* background-color: white; */
    text-align: center;
    line-height: 3rem;
    border-radius: .3rem;
    background: #3e9750;
    box-shadow: -16px 16px 50px #45a466,
        16px -16px 50px #2b8645;
}

nav>ul>li:hover {
    border-radius: .3rem;
    background: linear-gradient(145deg, #653f3f, #553535);
    box-shadow: -16px 16px 50px #503232,
        16px -16px 50px #6c4444;
    color: #EDDE5D;
}

nav>div:nth-child(2) {
    width: 100%;
    height: 100%;
    background-image: url("./1.jpeg");
    /* opacity: 0.6; */
    background-repeat: round;
    background-size: 100%;
    display: none;
}

.btn-primary {
    position: relative;
    left: 2rem;
    top: 2rem;

    background-image: linear-gradient(to right, #FF5F6D 0%, #FFC371 51%, #FF5F6D 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    border: #BEA16E;
}

.jiance {
    position: relative;
    left: 11rem;
    bottom: 1.2rem;
    height: 2rem;
    /* top: 2rem; */
    color: hotpink;
    display: block;
    border: #3f3b13;
}

.jiance>input {
    margin: .3rem;
    width: 3rem;
    height: 2rem;
}

.kongtiao {
    position: relative;
    left: 2rem;
    top: 5rem;
    /* margin: 0rem; */
    margin: 0;
    padding: 0;
}
.chushi
{
    width: 3rem;
    height: 2rem;
    border-radius: 50%;
}

.huxi {
    position: relative;
    bottom: 29rem;
    left: 13rem;
}

.kongtiao>li {
    width: 8rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.4rem;
    font-weight: 900;
}

.led
{
    position: relative;
    bottom: 60rem;
    left: 20rem;
}

.huxi>ul>li {
    width: 8rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.4rem;
    font-weight: 900;
}

.led>ul>li {
    width: 8rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.4rem;
    font-weight: 900;
}


.btn-primary:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
    color: #3f3b13;
}


.btn-grad {
    background-image: linear-gradient(to right, #FF5F6D 0%, #FFC371 51%, #FF5F6D 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

.btn-grad:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.open>input {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    margin-left: 1rem;
    margin-top: .2rem;
}

.huxi>ul>li>input {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    margin-left: 1rem;
    margin-top: .2rem;
    text-align: center;
    line-height: 1.3rem;
}

.led>ul>li>input {
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    margin-left: 1rem;
    margin-top: .2rem;
    text-align: center;
    line-height: 1.3rem;
}

.modbus {
    width: 100%;
    height: 100%;
    background-image: url("./2.jpg");
    /* opacity: 0.6; */
    background-repeat: round;
    background-size: 100%;
    display: block;
}

.modbusbtn {
    position: relative;
    left: 2rem;
    top: 2rem;

    background-image: linear-gradient(to right, #FF5F6D 0%, #FFC371 51%, #FF5F6D 100%);
    margin: 10px;
    padding: 15px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    border: #BEA16E;
}

.modbusbtn:hover
{
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
    color: #3f3b13;
}

.mbjiance {
    position: relative;
    left: 11rem;
    bottom: 1.2rem;
    height: 2rem;
    /* top: 2rem; */
    color: hotpink;
    display: block;
    border: #3f3b13;
}

.mbjiance>input {
    margin: .3rem;
    width: 3rem;
    height: 2rem;
}

.mbkongtiao {
    position: relative;
    left: 2rem;
    top: 5rem;
    /* margin: 0rem; */
    margin: 0;
    padding: 0;
}

.mbkongtiao > li
{
    width: 8rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.4rem;
    font-weight: 900;
}

.mbopen
{
    width: 8rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.4rem;
    font-weight: 900;
}
.mbopen > input
{
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    margin-left: 1rem;
    margin-top: .2rem;
}


.shipin {
    width: 100%;
    height: 100%;
    background-image: url("./3.jpeg");
    /* opacity: 0.6; */
    background-repeat: round;
    background-size: 100%;
    display: none;
}


/* 底部开始 */
footer {
    width: 100%;
    height: 5rem;
    background-color: blue;
    color: hotpink;
    text-align: center;
}
.zu > span
{
    display: inline-block;
    margin: 1rem;
}

